﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Audio;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class TileClickGameAction : GameAction
    {
        Game game;
        GameboardCell cell;
        SoundEffectInstance sound;
        PlayStage playStage;
        public TileClickGameAction(Game game, PlayStage playStage, GameboardCell cell, SoundEffectInstance sound)
        {
            this.game = game;
            this.cell = cell;
            this.playStage = playStage;
            this.sound = sound;
        }
        public override void doAction()
        {
            playStage.doMoveAndShowUpgradeMenu(cell, game);
            sound.Play();
        }
    }
}
